<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page errorPage="../error/404.jsp"%>
<!DOCTYPE html>
<html>
<head>	
<meta charset="utf-8">
<title>用户信息</title>
<%@ include file="common/head.jsp" %>
<script type="text/javascript" src="/js/time.js"></script>
	</head>
	<body>
		 
    <div  id="main">
   
      <h1 class="page-header">状态</h1>
      <div class="table-responsive">
        <table class="table table-striped table-hover">
          <tbody>
            <tr>
              <td>登录者: <span>${user.nickname}</span>，这是您第 <span>${user.sign}</span> 次登录</td>
            </tr>
            <tr>
              <td>
              本次登录时间:<fmt:formatDate value="${user.lasttime}" pattern="yyyy-MM-dd  HH:mm:ss"/>, 本次登录IP:${user.ip}</td>
            </tr>
          </tbody>
        </table>
      </div>
      <h1 class="page-header">用户信息</h1>
      <div class="table-responsive">
        <table class="table table-striped table-hover">
          <thead>
            <tr> </tr>
          </thead>
          <tbody>
            <tr>
              <td>用户ID:</td>
              <td>${user.uid}</td>
              <td>用户名:</td>
              <td>${user.username}</td>
            </tr>
            <tr>
              <td>注册时间:</td>
              <td><fmt:formatDate value="${o.registerTime}" pattern="yyyy-MM-dd  HH:mm:ss"/></td>
              <td>会员情况:</td>
              <td>${user.mname}</td>
            </tr>
            <tr>
              <td>剩余有效期:</td>
              <td>0天</td>
                <td>登录者IP:</td>
              <td>${user.ip}</td>
            </tr>
            <tr>
        <td>账户余额:</td>
              <td>${user.payaccount}</td>
            <td>北京时间:</td>
              <td><div class="time"></div></td>
            </tr>     
      
          </tbody>  
        </table>
      </div>

    </div>
	</body>
</html>
